export interface GetTableRequestData {
  /** 当前页码 */
  pageNum: number
  /** 查询条数 */
  pageSize: number
  pageType: string
  buttonType: string
  billNo?: string
  date1?: string
  date2?: string
  bill_back_user?: string
  acceptorName?: string
  billAmountMin?: string
  billAmountMax?: string
  expirationDateStart?: string
  expirationDateEnd?: string
  enter_timeStart?: string
  enter_timeEnd?: string
  out_timeStart?: string
  out_timeEnd?: string
  uid?: number | undefined
  history_type?: number | undefined
  EnterUid?: number
  churu_type?: number | undefined
  company_type?: number | undefined
}

export interface GetExportRequestData {
  pageType: string
  buttonType: string
  billNo?: string
  date1?: string
  date2?: string
  bill_back_user?: string
  acceptorName?: string
  billAmountMin?: string
  billAmountMax?: string
  expirationDateStart?: string
  expirationDateEnd?: string
  enter_timeStart?: string
  enter_timeEnd?: string
  out_timeStart?: string
  out_timeEnd?: string
  uid?: number | undefined
  EnterUid?: number | undefined
  history_type?: number | undefined
  churu_type?: number | undefined
  company_type?: number | undefined
}

export interface getIndexRequestData {
  pageType: string
  buttonType?: string
  billNo?: string
  date1?: string
  date2?: string
  bill_back_user?: string
  acceptorName?: string
  billAmountMin?: string
  billAmountMax?: string
  expirationDateStart?: string
  expirationDateEnd?: string
  enter_timeStart?: string
  enter_timeEnd?: string
  out_timeStart?: string
  out_timeEnd?: string
  uid?: number | undefined
  EnterUid?: number | undefined
  history_type?: number | undefined
  company_type?: number | undefined
}
export interface getCountRequestData {
  pageType: string
  buttonType?: string
  billNo?: string
  date1?: string
  date2?: string
  bill_back_user?: string
  acceptorName?: string
  billAmountMin?: string
  billAmountMax?: string
  expirationDateStart?: string
  expirationDateEnd?: string
  enter_timeStart?: string
  enter_timeEnd?: string
  out_timeStart?: string
  out_timeEnd?: string
  uid?: number | undefined
  EnterUid?: number | undefined
  history_type?: number | undefined
  company_type?: number | undefined
  churu_type?: number | undefined
}

export interface GetTableData {
  createTime: string
  email: string
  id: string
  phone: string
  roles: string
  status: boolean
  username: string
}
export interface createRequestData {
  billNo: string
  billAmount: number
  bill_type: number
  expirationDate: string
  acceptorName: string
  bill_back_user: string
}
export interface WarehouseRequestData {
  bill_id: number
  enter_company_id: number
  bill_type: number
  enter_admin_id?: number
  enter_discount?: number
  enter_price?: number
  enter_finally?: number
  remark?: string | undefined
}
export interface WarehouseEditRequestData {
  bill_id: number
  bill_type: number
  enter_discount?: number
  enter_price?: number
  enter_finally?: number
  remark?: string | undefined
}
export interface deleteRequestData {
  bill_id: number
  reason: string
}
export interface getDetailsRequestData {
  bill_id: number
}

export interface batchWarehouseRequestData {
  enter_company_id: number
  bill_type: number
  enter_admin_id?: number
  batch_list?: any
}
export interface batchSellRequestData {
  out_company_id: number
  out_admin_id?: number
  batch_list?: any
}
export interface OutRequestData {
  bill_id: number
  is_dismantle: number
  out_company_id: number
  out_admin_id?: number
  out_price?: number | undefined
  out_discount?: number | undefined
  out_finally?: number | undefined
}
export interface finishRequestData {
  bill_id: number
  bill_type?: number
  out_company_id: number
  out_admin_id?: number
  out_price?: number
  out_discount?: number
  out_finally?: number
  enter_company_id: number
  enter_admin_id?: number
  enter_price?: number
  enter_discount?: number
  enter_finally?: number
}
export interface splitRequestData {
  bill_id: number
  dismantle_money: number
  billRange: number
}
export interface withdrawRequestData {
  bill_id: number
}

export interface analyzeSourceRequestData {
  type: string
  company_type: number
}

export interface companyTimeRequestData {
  date: string
  company_name?: string
}
export interface inListsRequestData {
  ids: string
}
export interface inListsNewRequestData {
  company_id: number
  type: string
}

export interface batchEditRequestData {
  batch_list: any
  type: string
}

export interface batchDeleteRequestData {
  billIds: Object
}
export interface batchWithdrawRequestData {
  billIds: Object
}

export type GetTableResponseData = ApiResponseData<{
  list: GetTableData[]
  total: number
}>
